package com.example.springredisdemo;

import com.example.springredisdemo.service.RedisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringRedisDemoApplication implements CommandLineRunner {

    @Autowired
    RedisService redisService;


    public static void main(String[] args) {
        SpringApplication.run(SpringRedisDemoApplication.class, args).close();

    }

    @Override
    public void run(String... args) throws Exception {
    }
}
